﻿using Furion.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FurStudy.Application
{
    [Injection(Proxy = typeof(LogDispatchProxy))] // 之后SayHello方法被调用的时候就可以实现动态拦截了，比如这里写日志
    public class TestService : ITestService, ITransient
    {
        public string SayHello(string word)
        {
            return $"Hello {word}";
        }
    }
}
